#ifndef _ScoreData_H_
#define _ScoreData_H_

#include <string>

#include "mxml.h"

class ScoreData
{
	public:
		ScoreData(char* lvl, int time, int portal, char* user);
		~ScoreData();
	
		void SetTime(int t){_time = t;}
		void SetPortal(int p){_portal = p;}
		
		int GetTime(){return _time;}
		int GetPortal(){return _portal;}
		
		const char* GetLvl(){return _lvl.c_str();}
		const char* GetUser(){return _user.c_str();}
		
	private:
		int _time;
		int _portal;
		
		std::string _lvl;
		std::string _user;
};

#endif //_ScoreData_H_

